package com.cskaoyan.beanwx.vo;

import com.cskaoyan.bean.pojo.OrderGoods;
import com.cskaoyan.beanwx.pojo.HandleOption;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author: lds
 * @clsss: OrderDetailVo
 */
@Data
public class OrderDetailVo {

    /**
     * orderInfo : {"consignee":"张松","address":"安徽省 合肥市 瑶海区 碧桂园","addTime":"2020-04-27 21:58:50","orderSn":"20200427823188","actualPrice":199,"mobile":"18566549962","orderStatusText":"已发货","goodsPrice":199,"couponPrice":0,"id":4,"freightPrice":0,"handleOption":{"cancel":false,"delete":false,"pay":false,"comment":false,"confirm":true,"refund":false,"rebuy":false}}
     * orderGoods : [{"id":4,"orderId":4,"goodsId":1084003,"goodsName":"纯棉美式绞花针织盖毯","goodsSn":"1084003","productId":101,"number":1,"price":199,"specifications":["标准"],"picUrl":"http://yanxuan.nosdn.127.net/cf40c167e7054fe184d49f19121f63c7.png","comment":0,"addTime":"2020-04-27 21:58:50","updateTime":"2020-04-27 21:58:50","deleted":false}]
     */
    private OrderInfoBean orderInfo;
    private List<OrderGoods> orderGoods;
    @Data
    public static class OrderInfoBean {
        /**
         * consignee : 张松
         * address : 安徽省 合肥市 瑶海区 碧桂园
         * addTime : 2020-04-27 21:58:50
         * orderSn : 20200427823188
         * actualPrice : 199
         * mobile : 18566549962
         * orderStatusText : 已发货
         * goodsPrice : 199
         * couponPrice : 0
         * id : 4
         * freightPrice : 0
         * handleOption : {"cancel":false,"delete":false,"pay":false,"comment":false,"confirm":true,"refund":false,"rebuy":false}
         */

        private String consignee;
        private String address;
        private Date addTime;
        private String orderSn;
        private BigDecimal actualPrice;
        private String mobile;
        private String orderStatusText;
        private BigDecimal goodsPrice;
        private BigDecimal couponPrice;
        private int id;
        private BigDecimal freightPrice;
        private HandleOption handleOption;
        private BigDecimal jifen;

        }


}
